10. Derivatives and Tangent Lines

b. Tangent Lines

The primary application of a derivative is to find the equation of the tangent line at a point, x=ax=a, on the graph of a function, y=f(x)y=f(x). The most general line has the standard equation: Ax+By=C. Ax+By=C. The line is vertical if B=0B=0 and non-vertical if B0B\ne0. Assuming it is not vertical, we can solve for yy and put the equation into slope-intercept form: y=mx+b(1) y=mx+b \qquad (1) where mm is the slope and bb is the yy-intercept.

Now suppose we want to find the equation of the line tangent to y=f(x)y=f(x) at x=ax=a. We know the slope is m=f(a)m=f'(a). So equation (1)(1) becomes: y=f(a)x+b(2) y=f'(a)x+b \qquad (2) We know the line passes through the point (x,y)=(a,f(a))(x,y)=(a,f(a)). So equation (2)(2) tell us: f(a)=f(a)a+b f(a)=f'(a)a+b We solve for bb and substitute back into (2)(2): b=f(a)f(a)ay=f(a)x+f(a)f(a)a=f(a)+f(a)(xa)\begin{aligned} b&=f(a)-f'(a)a \\[5pt] y&=f'(a)x+f(a)-f'(a)a\\ &=f(a)+f'(a)(x-a) \end{aligned} Using this formula for bb, equation (2)(2) becomes: y=f(a)x+f(a)f(a)a=f(a)+f(a)(xa)\begin{aligned} y&=f'(a)x+f(a)-f'(a)a\\ &=f(a)+f'(a)(x-a) \end{aligned} which is the equation for the tangent line. We define the formula on the right to be the tangent function: ftan(x)=f(a)+f(a)(xa) f_{\tan}(x)=f(a)+f'(a)(x-a) so that the equation of the tangent line is y=ftan(x)y=f_{\tan}(x).

Equation of a Tangent Line to a Graph
The equation of the tangent line to the graph of the function y=f(x)y=f(x) at x=ax=a is: y=ftan(x)f(a)+f(a)(xa) y=f_{\tan}(x) \equiv f(a)+f'(a)(x-a) In differential notation, this is: y=ftan(x)f(a)+dfdxx=a(xa) y=f_{\tan}(x) \equiv f(a)+\left.\dfrac{df}{dx}\right|_{x=a}(x-a)

Memorize this!

def_tan_line

The equation of a tangent line can also be derived from the point-slope equation for a line. The slope is m=yyoxxo m=\dfrac{y-y_o}{x-x_o} where mm is the slope, (xo,yo)(x_o,y_o) is some point on the line and (x,y)(x,y) is a general point on the line. Solving for yy, the point-slope equation for the line is: y=yo+m(xxo) y=y_o+m(x-x_o) For the tangent line to f(x)f(x) at x=ax=a, the slope is m=f(a)m=f'(a) and (xo,yo)=(a,f(a)(x_o,y_o)=(a,f(a). So the point-slope equation becomes y=f(a)+f(a)(xa) y=f(a)+f'(a)(x-a)

Compute the tangent line to y=6x2x3y=6x^2-x^3 at x=3x=3. Then find its yy-intercept. Its slope was found in an exercise on the previous page.

The solution is straightforward: find the required information and plug into the formula for the equation of the tangent line. We identify f(x)=6x2x3f(x)=6x^2-x^3 and a=3a=3. Then: f(3)=5427=27 f(3)=54-27=27 and from the previous page: f(3)=9 f'(3)=9 So the equation of the tangent line is: y=f(a)+f(a)(xa)=f(3)+f(3)(x3)=27+9(x3)=9x\begin{aligned} y&=f(a)+f'(a)(x-a) \\ &=f(3)+f'(3)(x-3) \\ &=27+9(x-3) \\ &=9x \end{aligned} We identify the yy-intercept as b=0b=0.

Compute the tangent line to y=3xy=\dfrac{3}{x} at x=6x=6. Then find its yy-intercept. Its derivative was found in an exercise on a previous page.

ex_tan_deriv_pt

Hint

Evaluate the function and find its derivative at x=6x=6. Then use the formula: ftan(x)=f(6)+f(6)(x6) f_{\tan}(x)=f(6)+f'(6)(x-6)

[×]

Answer

y=112x+1y=-\,\dfrac{1}{12}x+1
The yy-intercept is b=1b=1.

[×]

Solution

We identify f(x)=3xf(x)=\dfrac{3}{x} and a=6a=6. Then: f(6)=12 f(6)=\dfrac{1}{2} The derivative was found on a previous page to be: f(6)=112 f'(6)=-\,\dfrac{1}{12} So the equation of the tangent line is: y=f(a)+f(a)(xa)=f(6)+f(6)(x6)=12112(x6)=112x+1\begin{aligned} y&=f(a)+f'(a)(x-a) \\ &=f(6)+f'(6)(x-6) \\ &=\dfrac{1}{2}-\dfrac{1}{12}(x-6) \\ &=-\,\dfrac{1}{12}x+1 \end{aligned} We identify the yy-intercept as b=1b=1.

[×]

© 2025 MYMathApps

Supported in part by NSF Grant #1123255